package com.xugongwei.blog.business.service;

import com.xugongwei.blog.business.entity.Statistics;
import com.xugongwei.blog.business.entity.Article;

import java.util.List;

/**
 * 统计
 *
 * @author xugongwei (isxugongwei(a)gmail.com)
 * @version 1.0
 * @date 2019/4/6 21:05
 */
public interface BizStatisticsService {
    /**
     * 获取热门文章
     *
     * @return
     */
    List<Article> listHotArticle(int pageSize);

    /**
     * 获取文章分类统计
     *
     * @return
     */
    List<Statistics> listType(int pageSize);

}
